Create custom cost item
Create a custom provider/item cost; an existing pair returns 200 with its unchanged rates, so use PUT /v1/ai/billing/costs/items/:id to edit it.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Create custom cost item payload
AI model provider, or the vendor of a custom cost item. This is not an integration connection.
1"anthropic"
Custom item name matching the usage payload.
1"search"
Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.
1 - 10 elementsResponse
The custom cost item already existed
AI model provider, or the vendor of a custom cost item. This is not an integration connection.
"anthropic"
Model identifier, or custom item identifier. Null on wildcard pricing rows.
"claude-sonnet-5"
Alternative model names recognized by the cost catalog.
Provider cost in USD per million input tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"3"
Provider cost in USD per million output tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"15"
Provider cost in USD per million cached input tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"0.3"
Provider cost in USD per million cache write tokens, as an exact decimal string.
^-?\d+(\.\d+)?(e[+-]?\d+)?$/i"3.75"
Additional billable dimensions; each key matches a usage_extra key and rates use the owning card's units or USD for cost-catalog dimensions.
Time the price takes effect, as a UTC ISO 8601 timestamp.
"2026-09-01T00:00:00Z"
Source of the model or item cost.
- official: Official model price registry.
- override: Negotiated workspace cost override.
- custom: Workspace-defined cost item.
- unlisted: Observed usage without catalog pricing.
official, override, custom, unlisted "official"
Active custom cost-item version identifier used to update or delete the item; null for registry models. An update returns a new identifier and preserves historical prices.
null
Negotiated workspace cost override, or null when using registry rates.
null

